package top.huxy.boot.service;

import top.huxy.boot.model.dto.DTO_ADDArticle;
import top.huxy.boot.model.dto.DTO_UpdateArticle;
import top.huxy.boot.model.dto.Pager;
import top.huxy.boot.model.vo.user.VO_Article;

import java.util.List;

/**
 * @author HuXY
 * @since 2021-12-21 09:59:01
 */
public interface ArticleService{
    List<VO_Article> getArticleList(Pager pager, String type);

    Integer addArticle(DTO_ADDArticle article);

    VO_Article getArticleById(Integer id);

    void updateArticle(DTO_UpdateArticle article);
}
